<?php
/**
 * +----------------------------------------------------------------------
 * | summer framework
 * +----------------------------------------------------------------------
 * | Copyright (c) 2020 https://github.com/suframe/think-admin All rights reserved.
 * +----------------------------------------------------------------------
 * | Author: summer <806115620@qq.com>  2020/4/19 13:55
 * +----------------------------------------------------------------------
 */

namespace app\mall\enum;


class PayWayEnum extends Base
{

    public const ALI = 'ali';
    public const WEIXIN = 'weixin';
    public const BALANCE = 'balance';
    public const CASH = 'cash';

    public static function toZhArray(): array
    {
        return [
            self::ALI => '支付宝',
            self::WEIXIN => '微信',
            self::BALANCE => '余额',
            self::CASH => '现金',
        ];
    }

}